package astnode;

import common.Visitor;

//import commonmodule.Token;
public abstract class ASTNode {
	
	private int lineNum = 0;
	
	public ASTNode( int lineNum ){
		this.lineNum = lineNum;
	}
	
	public void accept( Visitor pv ){
		pv.visit(this);
	}

	public int getLineNum() {
		return lineNum;
	}

	public void setLineNum(int lineNum) {
		this.lineNum = lineNum;
	}

}
